package org.bootstrap;

import cn.hutool.core.lang.Console;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
@ServletComponentScan // 开启 selvet 组件 扫描
@EnableAspectJAutoProxy // 开启切面动态代理
public class Main {
    public static void main(String[] args) {
        SpringApplication.run(Main.class);
        Console.log("启动完成");
    }
}